QABitmapDetach
You can use theQABitmapDetach
function to detach a bitmap from a drawing engine.
TQAError QABitmapDetach (const TQAEngine *engine, TQABitmap *bitmap);
engine
- A drawing engine.
bitmap
- A bitmap.
DESCRIPTION
TheQABitmapDetach
function causes the drawing engine specified by theengine
parameter to copy the data associated with the bitmap specified by thebitmap
parameter. Once the data are copied, you can reuse or dispose of the memory you originally specified in a call toQABitmapNew
.